<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html>
<html>
   <head>
    	<title></title>   
		<s:include value="../common/source.jsp"></s:include>
			<script src="js/Limit.js"></script>	
  </head>

  <body>
   <script>
/* document.write(extArray.join("  "); */
</script>
  <div class="body">
   
   <form class="sui-form form-horizontal sui-validate" action="teacher/modifyPat2.action" method="post"  onsubmit="return LimitAttach(form, file) " enctype="multipart/form-data">
   <table class="sui-table table-vzebra table0" >
                    <tbody>
                      <tr>
                        <td>专利名称</td>
                        <td>  <input type="text" class="input-large"  name="pate.name" data-rules="required" value="<s:property value="pat.name"/>"> </td>
                      </tr>
                      
                      <tr>
                        <td>专利类别</td>
                        <td>  <div class="controls">
            <span class="sui-dropdown dropdown-bordered select">
              <span class="dropdown-inner">
                <a id="drop4" role="button" data-toggle="dropdown" href="#" class="dropdown-toggle">
                  <input value="<s:property value="pat.expClass"/>" name="pate.expClass" type="hidden" data-rules="required"><i class="caret"></i><span>
                  <s:if test="pat.expClass==0">发明专利</s:if>
                  <s:elseif test="pat.expClass==1">实用新型专利</s:elseif>
                  <s:elseif test="pat.expClass==2">软件著作权</s:elseif>
                  </span>
                </a>
                <ul id="menu4" role="menu" aria-labelledby="drop4" class="sui-dropdown-menu">
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="javascript:void(0);" value=0>发明专利</a></li>
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="javascript:void(0);" value=1>实用新型专利</a></li>
                   <li role="presentation"><a role="menuitem" tabindex="-1" href="javascript:void(0);" value=2>软件著作权</a></li>             
                </ul>
              </span>
            </span>
          </div> </td>
                      </tr>
                      
                       <tr>
                        <td>第一发明人</td>
                        <td>  <input type="text" class="input-large" name="pate.fiestInventor" data-rules="required" value="<s:property value="pat.fiestInventor"/>"> </td>
                      </tr>
                        <tr>
                      <td>专利申请号</td>
                        <td> <input type="text" class="input-large" name="pate.applyNumber" data-rules="required" value="<s:property value="pat.applyNumber"/>"></td>
                      </tr>
                      
                      <tr>
                        <td>申请时间</td>
                        <td> <input type="text" class="input-large" name="dates" data-toggle="datepicker" data-rules="required" value="<s:date name="pat.applyDate"  format="yyyy-MM-dd" />"></td>
                      </tr>
                      
                        <tr>
                        <td>专利授权号</td>
                        <td> <input type="text" class="input-large" name="pate.number" data-rules="required" value="<s:property value="pat.number"/>"></td>
                      </tr>
                       <tr>
                        <td>授权时间</td>
                        <td> <input type="text" class="input-large" name="dates2" data-toggle="datepicker" data-rules="required" value="<s:date name="pat.empowerDate" format="yyyy-MM-dd" />"></td>
                      </tr>
                       <tr>
                        <td>专利受让单位(可为空)</td>
                        <td>  <input type="text" class="input-large" name="pate.empowerUnit" data-rules="required" value="<s:property value="pat.empowerUnit"/>"> </td>
                      </tr>
                        <!-- <tr>
                        <td>审核状态</td>
                        <td> <input type="text" class="input-large" name="patent.examine" data-rules="required"></td>
                      </tr>   -->            
                    <tr>
                        <td>专利转让合同金额(万)</td>
                        <td> <input type="text" class="input-large" name="pate.transferFunds" data-rules="required" value="<s:property value="pat.transferFunds"/>"></td>
                      </tr>
                      <input type="text" name="patid" value="<s:property value="pat.patId"/>" style="display:none;">
                      <input type="text" name="teaid" value="<s:property value="pat.teaId"/>" style="display:none;">
                      <input type="text" name="upname" value="<s:property value="pat.upload"/>" style="display:none;">
                   <tr>
                      <td>专利上传</td>
                        <td>   <input type="file" class="input-large" name="fileCom" ></td>
                      </tr>
                    </tbody>
                  </table>
  
   <div class="control-group button3">
          <label class="control-label v-top"></label>
          <div class="controls">
            <button type="submit" class="sui-btn btn-primary" onclick="return LimitAttach(this.form, this.form.fileCom.value)">提交</button>

            <button type="reset" class="sui-btn">重置</button>
          </div>
        </div>
  </form>
      </div>  
      <script>
      if("<s:property value="suc"/>"=="success"){
      alert("上传专利成功！！！");
      }
      </script>
  </body>
</html>
